package cn.flying.cloud.task.core.quartz.exception;

import cn.flying.cloud.base.common.enums.BaseEnumInfo;
import cn.flying.cloud.base.common.exception.BizException;

/**
 * 任务处理异常
 *
 * @author: admin
 * @date: 2024年01月29日 20:51
 * @version: 1.0
 */
public class TaskException extends BizException {

    public TaskException() {
        super();
    }

    public TaskException(BaseEnumInfo enumInfo) {
        super(enumInfo);
    }

    public TaskException(BaseEnumInfo enumInfo, Throwable cause) {
        super(enumInfo, cause);
    }

    protected TaskException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

    public TaskException(String message) {
        super(message);
    }

    public TaskException(String code, String message) {
        super(code, message);
    }

    public TaskException(String code, String message, Throwable cause) {
        super(code, message, cause);
    }

    public TaskException(String message, Throwable cause) {
        super(message, cause);
    }
}
